Chris Pollett > Old Classes >
CS185c

( Print View )

Student Corner:
  [Grades Sec5]

  [Submit Sec5]

  [Class Sign Up Sec5]

  [
Lecture Notes]
  [Discussion Board]

Course Info:
  [Texts & Links]
  [Topics/Outcomes]
  [Outcomes Matrix]
  [Grading]
  [HW/Quiz Info]
  [Exam Info]
  [Regrades]
  [Honesty]
  [Additional Policies]
  [Announcements]

HWs and Quizzes:
  [Hw1]  [Hw2]  [Hw3]
  [Hw4]  [Quizzes]  [Project]

Practice Exams:
  [Mid]  [Final]

                           












CS185c Spring 2012Practice Final

To study for the final I would suggest you: (1) Know how to do (by heart) all the practice problems. (2) Go over your notes at least three times. Second and third time try to see how much you can remember from the first time. (3) Go over the homework problems. (4) Try to create your own problems similar to the ones I have given and solve them. (5) Skim the relevant sections from the book. (6) If you want to study in groups, at this point you are ready to quiz each other. The practice final is below. Here are some facts about the actual final: (a) It is comprehensive (b) It is closed book, closed notes. Nothing will be permitted on your desk except your pen (pencil) and test. (c) You should bring photo ID. (d) There will be more than one version of the test. Each version will be of comparable difficulty. (e) It is 10 problems, 6 problems will be on material since the lecture before the midterm, four problems will come from the topics covered prior to the midterm. (f) Two problems will be exactly (less typos) off of the practice final, and one will be off of practice midterm.

  1. Briefly explain with code how either Android ListActivity can be used or how iPhone tables work.
  2. For two of the following platforms (Android, iPhone, HTML5) explain with code how you could draw a blue, filled, circle that fits in a 100x100 square at whose top left coordinate is 40,50.
  3. Explain the following terms: viewport, viewing frustum, near and far clipping planes.
  4. For iPhone of Android explain the OpenGL needed to draw a pyramid to the screen.
  5. For iPhone or Android write code to display the current longitude and latitude in a text field on the screen.
  6. Explain with code how you could detect if your mobile device was falling.
  7. Explain with code for two platforms amongst (Android, iPhone, and HTML5) how you could detect if someone wrote a capital T on the screen and if so bring up an alert saying "Tada!"
  8. For the platform of your choice amongst Android, iPhone, and HTML5 explain with code how you could play an mp4 file.
  9. For iPhone or Android explain with code how you could allow a user to take a picture within an App.
  10. For iPhone or Android explain with code how you could draw a map with your location on it.